home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-06-07 | 2.1 KB | 65 lines | [TEXT/ttxt] |
- \ imports for Yerk system modules
- \ 1/12/84 cbd Seperated from Mod file
- \ 12/20/85 cdn Added Sort & Assembler
- \ 6/23/86 cdn Added de'
- \ 8/21/86 cdn Added Alert" & fcall
- \ 6/01/90 rfl added global/gtool and .sys/env
- \ 9/26/90 rfl added more imports to env
- \ 12/15/90 rfl moved global to toolmod
- \ 2/02/91 rfl added envrec to env module
- \ 6/11/91 rfl added konstant module
- \ 10/26/91 rfl added class hierarchy to util
- \ 5/01/93 rfl removed mload and added outMod
- \ 5/17/93 rfl removed string call from clean1. Yerk.rsrc no longer needed.
-
- FROM aboutMod IMPORT{ About }
- FROM alertMod IMPORT{ (al") alert! }
- FROM deMod IMPORT{ (de) de' } 48 value deflgs
- FROM examMod IMPORT{ Exam }
- FROM grepMod IMPORT{ (grep) Grep } 4 value grflgs
- FROM iMod IMPORT{ saveNuc Install }
- FROM indMod IMPORT{ doInDlg doGrDlg doDeDlg }
- FROM logMod IMPORT{ +file -file tofile }
- FROM printMod IMPORT{ +print -print pinit pemit ptype pCR np }
- FROM qpMod IMPORT{ qPrint }
- FROM sortMod IMPORT{ sort }
- FROM Tool IMPORT{ ASMcall fcall call global } 3 immediates
- FROM Util IMPORT{ Dump .w Words objList .classes pat hc' hier }
- FROM env IMPORT{ .sys hasColor hasFPU appleTalkOn getEnv }
- FROM konstantMod IMPORT{ konstant } immediate
- FROM docMod IMPORT{ see marks srcname fm rl /// mforget findfmark }
-
- FROM asmMod IMPORT{ Asm endAsm :Code :mCode } Immediate
-
- \ ( RC type -- ) frontender so module is not loaded if not needed
- : (al") smudge
- over IF R (al") ELSE 2drop THEN
- R c@ 1+ align R> + >R ;
-
- \ ( RC type : str" -- ) Compile conditional alert box
- : Alert"
- ?comp Compile (al") word" c@ 1+ Align allot
- ; Immediate
-
- 4 X-Array Aact
- 'c abort 'c null 'c null 'c null put: Aact
-
- \ Execute trap at IP on Return stack
- : (TRAP) R> dup 2+ >R w@ Trap ;
-
- \ Execute in line trap sequence: Axxx next,
- Create [trap]
- $ 224c w, \ move.l a4,a1
- $ d9fc w, 12 , \ add.l #12,a4
- $ 4ed1 w, \ jmp (a1)
-
- :F dmp dump ;F \ patch forward reference from Object
-
- 'code Util -> modCode
-
- 'c release -> growZone
-
- \ additional cleanup for aborts
- : clean1 cleanup +curs ." Token=" ( type# 171 ( Token= ) here .name cr ;
- 'c clean1 -> abortVec
-